package com.appspot.didit.client.statistic;

import java.util.ArrayList;
import java.util.Date;
import com.google.gwt.user.client.rpc.RemoteService;
import com.google.gwt.user.client.rpc.RemoteServiceRelativePath;

@RemoteServiceRelativePath("statistic")
public interface StatisticService extends RemoteService {
	public StatisticResult getPersonalTimeWithoutProject(Date begin, Date end, ArrayList<Long> tag_ids, Long user_id);
	public StatisticResult getPersonalTimeWithProject(Date begin, Date end, ArrayList<Long> tag_ids, Long user_id);
	public StatisticResult getPersonalTimeByProject(Date begin, Date end, ArrayList<Long> tag_ids, Long user_id);
	public StatisticResult getPersonalTimeByWeekday(Date begin, Date end, ArrayList<Long> tag_ids, Long user_id);
	public StatisticResult getTeamTime(Date begin, Date end, Long tag_id);
	public StatisticResult getProjectProgress(Date begin, Date end, Long tag_id);
	public String getExportToken1(Date begin, Date end, ArrayList<Long> tag_ids, Long user_id);
	public String getExportToken2(Date begin, Date end, ArrayList<Long> tag_ids, Long user_id);
	public String getExportToken3(Date begin, Date end, Long tag_id);
	public String getStundenzettel(Date begin, Date end, ArrayList<Long> tag_ids, Long user_id);
	public StatisticResult getTeamTimeInDetail(Date begin, Date end, Long tag_id);
}
